import { defineStore } from 'pinia'

// 时间处理
const startDate = new Date()
const endDate = new Date()
endDate.setDate(startDate.getDate() + 1)

const useMainStore = defineStore('main', {
  state: () => ({
    startDateM: startDate,
    endDateM: endDate,
    isLoading: false,
  }),
})

export default useMainStore
